# Form implementation generated from reading ui file 'src/eric7/Plugins/VcsPlugins/vcsMercurial/ShelveBuiltin/HgUnshelveDataDialog.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_HgUnshelveDataDialog(object):
    def setupUi(self, HgUnshelveDataDialog):
        HgUnshelveDataDialog.setObjectName("HgUnshelveDataDialog")
        HgUnshelveDataDialog.resize(400, 108)
        HgUnshelveDataDialog.setSizeGripEnabled(True)
        self.gridLayout = QtWidgets.QGridLayout(HgUnshelveDataDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(parent=HgUnshelveDataDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.nameComboBox = QtWidgets.QComboBox(parent=HgUnshelveDataDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.nameComboBox.sizePolicy().hasHeightForWidth())
        self.nameComboBox.setSizePolicy(sizePolicy)
        self.nameComboBox.setEditable(True)
        self.nameComboBox.setObjectName("nameComboBox")
        self.gridLayout.addWidget(self.nameComboBox, 0, 1, 1, 1)
        self.keepCheckBox = QtWidgets.QCheckBox(parent=HgUnshelveDataDialog)
        self.keepCheckBox.setObjectName("keepCheckBox")
        self.gridLayout.addWidget(self.keepCheckBox, 1, 0, 1, 2)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=HgUnshelveDataDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 2)

        self.retranslateUi(HgUnshelveDataDialog)
        self.buttonBox.accepted.connect(HgUnshelveDataDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(HgUnshelveDataDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(HgUnshelveDataDialog)
        HgUnshelveDataDialog.setTabOrder(self.nameComboBox, self.keepCheckBox)
        HgUnshelveDataDialog.setTabOrder(self.keepCheckBox, self.buttonBox)

    def retranslateUi(self, HgUnshelveDataDialog):
        _translate = QtCore.QCoreApplication.translate
        HgUnshelveDataDialog.setWindowTitle(_translate("HgUnshelveDataDialog", "Mercurial Unshelve"))
        self.label.setText(_translate("HgUnshelveDataDialog", "Name:"))
        self.nameComboBox.setToolTip(_translate("HgUnshelveDataDialog", "Enter the name of the shelve"))
        self.keepCheckBox.setToolTip(_translate("HgUnshelveDataDialog", "Select to keep the shelved change"))
        self.keepCheckBox.setText(_translate("HgUnshelveDataDialog", "Keep shelved change"))
